package com.a.l;

import android.os.Parcel;
import android.os.Parcelable;

public class JWTReq implements Parcelable {
   private String devMac;
   private String kkAppId;
   private String kkPid;

    public JWTReq() {
    }

    public JWTReq(String devMac, String kkAppId, String kkPid) {
        this.devMac = devMac;
        this.kkAppId = kkAppId;
        this.kkPid = kkPid;
    }

    protected JWTReq(Parcel in) {
        devMac = in.readString();
        kkAppId = in.readString();
        kkPid = in.readString();
    }
    public void readFromParcel(Parcel in) {
        devMac = in.readString();
        kkAppId = in.readString();
        kkPid = in.readString();
    }
    public static final Creator<JWTReq> CREATOR = new Creator<JWTReq>() {
        @Override
        public JWTReq createFromParcel(Parcel in) {
            return new JWTReq(in);
        }

        @Override
        public JWTReq[] newArray(int size) {
            return new JWTReq[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(devMac);
        dest.writeString(kkAppId);
        dest.writeString(kkPid);
    }

    public String getDevMac() {
        return devMac;
    }

    public void setDevMac(String devMac) {
        this.devMac = devMac;
    }

    public String getKkAppId() {
        return kkAppId;
    }

    public void setKkAppId(String kkAppId) {
        this.kkAppId = kkAppId;
    }

    public String getKkPid() {
        return kkPid;
    }

    public void setKkPid(String kkPid) {
        this.kkPid = kkPid;
    }

    public static Creator<JWTReq> getCREATOR() {
        return CREATOR;
    }

    @Override
    public String toString() {
        return "JWTReq{" +
                "devMac='" + devMac + '\'' +
                ", kkAppId='" + kkAppId + '\'' +
                ", kkPid='" + kkPid + '\'' +
                '}';
    }
}
